package xzy.com.service;

import java.util.Map;

import com.baomidou.mybatisplus.extension.service.IService;

import xzy.com.entity.domain.Users;

public interface UserService extends IService<Users>{
	Users getByName(String name);
	Users getById(Long userId);
	
	public Map<String,Object> listPages(int pages,int size); //分页查询
	public Map<String,Object> searchListPages(String name,String address,int pages,int size); //搜索并分页查询
	
}
